package com.zfl.service;

import com.zfl.pojo.Article;
import com.zfl.pojo.PageBean;

public interface ArticleService {
    void add(Article article);

    //条件分页列表查询
    PageBean<Article> list(Integer pageNum, Integer pageSize, Integer categoryId, String state);

    Article detail(int id);

    void delete(int id);

    void upadte(Article article);
}
